package com.simple.question;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.annotation.JSONField;

public class Question extends QueryObject {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 试题不可测评 */
	public static final int IS_TESTING_FLAG_FALSE = 0;
	
	/** 试题可测评 */
	public static final int IS_TESTING_FLAG_TRUE = 1;
	
	/** 是否套题:否 */
	public static final int IS_NESTED_FALSE = 0;
	
	/** 是否套题:是 */
	public static final int IS_NESTED_TRUE = 1;
	
	/** 试题的诊断等级 知识点的题 第一等级 */
	public static final int DIAGNOSTIC_RANK_KPOINT = 1;
	
	/** 试题的诊断等级 做线上诊断的题  第二等级 */
	public static final int DIAGNOSTIC_RANK_ONLINE = 2;
	
	/** 试题的诊断等级 同步的题 第三等级 */
	public static final int DIAGNOSTIC_RANK_SYNC = 3;
	
	/** 试题的柜台演示排名(优先级) */
	public static final int COUNT_RANK_FIRST_BATCH = 1;
	/** 表示试题能搜索 **/
	public static final int QUESTION_STATUS_TYPE_1 = 3;
	/** 表示优学帮试题搜索状态为4能搜索，待任务分发后再转状态为3**/
	public static final int QUESTION_STATUS_TYPE_2 = 4;
	public static Map<Integer,String> diagnosticRankMap = new HashMap<Integer,String>();
	
	static{
		diagnosticRankMap.put(DIAGNOSTIC_RANK_KPOINT, "知识点诊断题");
		diagnosticRankMap.put(DIAGNOSTIC_RANK_ONLINE, "同步诊断题");
	}
	
	private long id;

	private String title;

	private String code;
	
	/** 试题序号 */
	private int no;

	private long pId;

	private int subjectId;

	private int gradeId;

	private int phaseId;

	private int termId;

	private int questionTypeId;
	
	private int categoryId;
	
	private String subjectName;
	
	private String gradeName;
	
	private String termName;

	private String questionTypeName;
	
//	private StrucPaperQuestion strucPaperQuestion;
	
	/** 临时变量:Image */
	private String Image;
	/** 临时变量:knowledgeIdsMaster */
	private String knowledgeIdsMaster;
	/** 临时变量:knowledgeIds */
	private String knowledgeIds;
	
	/** 用于记录横排竖排 */
	private String joinTrunkTitle;
	
	/*知识点ID集合 所有知识的ID集合方便做索引*/
	private String kpointIdList;
	
	/*知识点名称集合 方便做索引*/
	private String knowledgeNameList;
	
	/** 记录试题的其他信息 json结构 */
	private String info;
	
	/** 用于历史记录的一个字段，记录试题id */
	private long questionId;
	/**临时变量主知识点关系类型 对应 KPointQuestion中的 relationType 字段**/
	private Integer prkpointRelation;
	/**临时变量副知识点关系类型 对应 KPointQuestion中的 relationType 字段**/
	private Integer dpkpontRelation;

	/** 试题主知识点ID */
	private Long primaryKpointId;
	
	/** 试题主知识点 名称 */
	private String primaryKpointName;
	
	/** 记录知识点是否被修改 */
	private boolean primaryKpointChange;
	
	/** 试题副知识点：副知识点有多个。用;分割。 1;2;34;5;3; */
	private String deputyKpointId;
	
	/** 副知识点名称 */
	private String deputyKpointName;
	
	/** 记录知识点是否被修改 */
	private boolean deputyKpointChange;
	
	/** 知识点名称 */
	private String knowledgeName;
	
	/** 主知识点名称 */
	private String knowledgeMaster;

	/** 试题来源 */
	private int originId;
	
	/** 试题审核状态 */
	private int audit;
	
	/** 资源类别ID */
	private int resourceTypeId;
	
	/** 试题来源  名*/
	private String originName;

	/** 难易级别 */
	private int difficultyId;
	
	private List<Integer> questionIds; 
	
	public List<Integer> getQuestionIds() {
		return questionIds;
	}

	public void setQuestionIds(List<Integer> questionIds) {
		this.questionIds = questionIds;
	}

	/** 难度 */
	private int name;
	
	public int getName() {
		return name;
	}

	public void setName(int name) {
		this.name = name;
	}

	/** 难度 */
	private String dfcltyKey;
	
	/** 版本 */
	private int editionId;
	
	/** 题干 */	
	private String trunk;
	
	/**题干 把包含MAHTML内容转成文字内容，其他跟trunk一样*/
	private String trunkMathML;
	
	/** 选项 */
	private String option;
	
	/** 选项  把包含MAHTML内容转成文字内容，其他跟trunk一样*/
	private String optionMathML;
	
	/** 默认分值 */
	private Double score;

	/** 临时的试题字符串 */
	private String excel;
	
	/** 试题修改，未修改前的excel信息 */
	private String beforeExcel;
	
	/** 旧库标记行号 */
	private String markerRowNum;
	
	/** 旧库标记行内容 */
	private String markerContent;
	
	/** 图片列行号 */
	private String pictrueRowNum;
	
	/** 图片列行内容 */
	private String pictrueContent;
	
	/** 声音列行号 */
	private String soundRowNum;
	
	/** 声音列行内容 */
	private String soundContent;
	
	/** 提供接口的试题结构 */
	private String excel4Online;
    /**
     * 状态为3 表示试题答疑能搜索试题，4表示优学帮 小机不能搜答疑老师能搜试题
     */
	private int status;
	
	/** 试题的审核状态 */
	private int auditStatus;

	/** 是否套题 0:否;1:是 */
	private Integer isNested;

	private long creator;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date crtDate;
	
	private long modifier;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date modifyDate;

	private long auditor;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date auditDate;
	
	/** 历史记录操作者 */
	
	private long historyUser;
	
	/** 试题记录历史记录的日期 */
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date historyDate;
	
	/** 画图题的位置 */
	private String position;
	
	/** 游戏题相关的游戏属性 */
	private String game;
	
	/** 试题的子题型 */
	private List<Question> children;
	
	private List<Question> childrenBak;

	/** 临时变量:教辅结构ID */
	private long structureId;
	
	/** 临时变量:单元ID */
	private long unitLessonId;
	
	/** 临时变量:marker */
	private String marker;

	/** 临时变量:关联知识点(一对一) */
	private long kPointId;
	
	/** 临时变量:试卷目录id */
	private long paperCatalogId;
	
	/** 临时变量:知识点的模块结构ID */
	private long kPointModuleStrucId;

	/** 教辅 */

	/** 试卷列表 */

	/** 题型  */

	/** 学霸训练场类型  */
	private int arenaGameStionStroke;
	private String agtName;
	
	public String getAgtName() {
		return agtName;
	}

	public void setAgtName(String agtName) {
		this.agtName = agtName;
	}

	/** 试题答案  */

	/** 试题扩展属性  */

	/** 试题来源  */
	private int questionOriginId;
	
	/** 试题下的文件 */

	/** 试题标记  */

	/** 试题标签 */

	/** 临时变量  */
	private String labels;
	
	/** 试题知识点 */

	/** 试题中的旧库标识  */
//	private UModelMarker uModelMarker;
	
	/** 在浏览、编辑试题 界面时 需要使用的信息记录 */

	
	/** 区域ID  */
	private long areaID;
	
	/** 易错点  */
	private Integer isFallible;
	/** 精选好题  */
	private Integer isClassic;
	
	/** 年份  */
	private int year;
	
	/** 试题的是否重复唯一值 */
	private long checkValue;
	
	/** 试题是否新增 */
	private Boolean isNew = false;
	
	
	/** 输的ISBN */
	private String isbn;
	
	/** 输的BARCODE 归纳总结 */
	private String barCode;
	
	/** 输的PAGENO 页码*/
	private String pageNO;
	
	/** 输的QNO 题号*/
	private String qNO;
	
	/** 结束标记ID */
	private long endId;
	/** 结束实体 */

	//参考知识点
	private String referenceKpoint;
	
	/** 2014-05-29 试题是否用于测评 */
	private Integer isTestingFlag;
	
	/** 2014-06-06 试题的题干属性如:<输入颜色>等  */

	
	//临时变量
	private int docnotype;
	
	private String unitName;
	
	private String audioName;
	
	private String questoinFenzu;
	
	/** 2014-06-23 试题的质量等级 */
	private Integer qualityGrade;
	
//	private QualityGrade qualityGradeEntity;
	
	//选必修Id
	private int ecRcId;	
	
	//必选修  临时变量 

	/** 2014-07-07 试题的诊断等级 */
	private Integer diagnosticRank;
	
	/** 2014-07-15 试题的柜台显示排名(优先级) */
	private Integer counterRank;
	
	private long tutorialId;
	/**ocr文本*/
	private String ocr ;

	//页面添加大同步试题时，区分来源于教辅还是来源于试题excel
	private Integer sourceType;
	/**是否可用于分发平台：0或null不可用，1可用于分发*/
	private Integer taskStatus;
	/**记录被搜索次数*/
	private int searchCount;
	/**精华题0=不是精华 1=精华问题（不能删除）*/
	private int recommend_flag;
	
	//临时变量 试题备注类
//	private List<QuestionRemarks> questionRemarkList;
	
	/**2015-04-03 新增优学帮试题id*/
	private long yxbId;
	
	/** 所属区域  */
	/** 推送临时变量  */
	private List<Long> unitLessonIds;
	
	private List<Long> kpointids;
	
//	private QuestionStat questionStat;
	
//	private QuestionInformation questionInformation;
	
	private Double questionscore;
	
	/**
	 * TB_PAPER_STRUCTURE 中的catalogdcrp属性
	 */
	private String catalogDcrp;
	/**
	 * TB_PAPER_CATALOG  中的name属性
	 */
	private String cataName;
	
//	private PaperStructureQuestion paperStruture;
	
	/**判断是否适用于B端  0为BC端都可以 1为适用于B端试题**/
	private int b;
	
	public String getCatalogDcrp() {
		return catalogDcrp;
	}

	public int getArenaGameStionStroke() {
		return arenaGameStionStroke;
	}

	public void setArenaGameStionStroke(int arenaGameStionStroke) {
		this.arenaGameStionStroke = arenaGameStionStroke;
	}

	public void setCatalogDcrp(String catalogDcrp) {
		this.catalogDcrp = catalogDcrp;
	}

	public String getCataName() {
		return cataName;
	}

	public void setCataName(String cataName) {
		this.cataName = cataName;
	}
	
	public Double getQuestionscore() {
		return questionscore;
	}

	public void setQuestionscore(Double questionscore) {
		this.questionscore = questionscore;
	}

//	public QuestionInformation getQuestionInformation() {
//		return questionInformation;
//	}
//
//	public void setQuestionInformation(QuestionInformation questionInformation) {
//		this.questionInformation = questionInformation;
//	}

	private int orderType;
	
	private Integer[] questionTypeIds;
	
	private int qtypegroupId;
	
	private String pqgname;
	
	/**试题转换标记*/
	private int changeLabel;
	
	/**时间标签**/
	private String timeLabel;
	/**时长**/
	private int timeLong;
		
	private String liveCourseName;
	
	private String difficultyName;
	
	
	
	public String getTimeLabel() {
		return timeLabel;
	}

	public void setTimeLabel(String timeLabel) {
		this.timeLabel = timeLabel;
	}

	public int getTimeLong() {
		return timeLong;
	}

	public void setTimeLong(int timeLong) {
		this.timeLong = timeLong;
	}

	public String getLiveCourseName() {
		return liveCourseName;
	}

	public void setLiveCourseName(String liveCourseName) {
		this.liveCourseName = liveCourseName;
	}

	public String getDifficultyName() {
		return difficultyName;
	}

	public void setDifficultyName(String difficultyName) {
		this.difficultyName = difficultyName;
	}

	public String getPqgname() {
		return pqgname;
	}

	public void setPqgname(String pqgname) {
		this.pqgname = pqgname;
	}

	public int getQtypegroupId() {
		return qtypegroupId;
	}

	public void setQtypegroupId(int qtypegroupId) {
		this.qtypegroupId = qtypegroupId;
	}

	public Integer[] getQuestionTypeIds() {
		return questionTypeIds;
	}

	public void setQuestionTypeIds(Integer[] questionTypeIds) {
		this.questionTypeIds = questionTypeIds;
	}

//	public QuestionStat getQuestionStat() {
//		return questionStat;
//	}
//
//	public void setQuestionStat(QuestionStat questionStat) {
//		this.questionStat = questionStat;
//	}

	public int getOrderType() {
		return orderType;
	}

	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}

	public List<Long> getKpointids() {
		return kpointids;
	}

	public void setKpointids(List<Long> kpointids) {
		this.kpointids = kpointids;
	}

	public List<Long> getUnitLessonIds() {
		return unitLessonIds;
	}

	public void setUnitLessonIds(List<Long> unitLessonIds) {
		this.unitLessonIds = unitLessonIds;
	}

	public List<Long> getDifficultyIds() {
		return difficultyIds;
	}

	public void setDifficultyIds(List<Long> difficultyIds) {
		this.difficultyIds = difficultyIds;
	}

	public List<String> getSource() {
		return source;
	}

	public void setSource(List<String> source) {
		this.source = source;
	}

	private List<Long> difficultyIds;
	private List<String> source;

//	public List<QuestionRemarks> getQuestionRemarkList() {
//		return questionRemarkList;
//	}
//
//	public void setQuestionRemarkList(List<QuestionRemarks> questionRemarkList) {
//		this.questionRemarkList = questionRemarkList;
//	}

//	public long getTutorialId() {
//		return tutorialId;
//	}
//
//	public void setTutorialId(long tutorialId) {
//		this.tutorialId = tutorialId;
//	}

	public String getTrunkMathML() {
		return trunkMathML;
	}

	public void setTrunkMathML(String trunkMathML) {
		this.trunkMathML = trunkMathML;
	}

	public String getOptionMathML() {
		return optionMathML;
	}

	public void setOptionMathML(String optionMathML) {
		this.optionMathML = optionMathML;
	}

	public int getEcRcId() {
		return ecRcId;
	}

	public void setEcRcId(int ecRcId) {
		this.ecRcId = ecRcId;
	}

	public int getDocnotype() {
		return docnotype;
	}

	public void setDocnotype(int docnotype) {
		this.docnotype = docnotype;
	}

	//临时变量
	private String trunkText;
	
	//临时变量
	private String strucId;
	
	public String getStrucId() {
		return strucId;
	}

	public void setStrucId(String strucId) {
		this.strucId = strucId;
	}

	public String getTrunkText() {
		return trunkText;
	}

	public void setTrunkText(String trunkText) {
		this.trunkText = trunkText;
	}

	

	public String getReferenceKpoint() {
		return referenceKpoint;
	}

	public void setReferenceKpoint(String referenceKpoint) {
		this.referenceKpoint = referenceKpoint;
	}

	public String getPageNO() {
		return pageNO;
	}

	public void setPageNO(String pageNO) {
		this.pageNO = pageNO;
	}

	public String getqNO() {
		return qNO;
	}

	public void setqNO(String qNO) {
		this.qNO = qNO;
	}

	public String getIsbn() {
		return isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

	public String getBarCode() {
		return barCode;
	}

	public void setBarCode(String barCode) {
		this.barCode = barCode;
	}
	
	public long getCheckValue() {
		return checkValue;
	}

	public void setCheckValue(long checkValue) {
		this.checkValue = checkValue;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}


	public int getAudit() {
		return audit;
	}

	public void setAudit(int audit) {
		this.audit = audit;
	}


	
	/**
	 * 是否子试题
	 * @return
	 */
	public boolean isChild() {
		if (this.pId != 0)
			return true;
		
		return false;
//		if (theInfo == null)
//			return false;
//		return theInfo.isChild();
	}
	

	public List<Question> getChildren() {
		return children;
	}

	public String getKnowledgeMaster() {
		return knowledgeMaster;
	}

	public void setKnowledgeMaster(String knowledgeMaster) {
		this.knowledgeMaster = knowledgeMaster;
	}

	public String getPrimaryKpointName() {
		return primaryKpointName;
	}

	public void setPrimaryKpointName(String primaryKpointName) {
		this.primaryKpointName = primaryKpointName;
	}

	public String getDeputyKpointName() {
		return deputyKpointName;
	}

	public void setDeputyKpointName(String deputyKpointName) {
		this.deputyKpointName = deputyKpointName;
	}

	public int getQuestionOriginId() {
		return questionOriginId;
	}

	public void setQuestionOriginId(int questionOriginId) {
		this.questionOriginId = questionOriginId;
	}

	public void setChildren(List<Question> children) {
		this.children = children;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getMarkerRowNum() {
		return markerRowNum;
	}

	public void setMarkerRowNum(String markerRowNum) {
		this.markerRowNum = markerRowNum;
	}

	public String getMarkerContent() {
		return markerContent;
	}

	public void setMarkerContent(String markerContent) {
		this.markerContent = markerContent;
	}

	public String getPictrueRowNum() {
		return pictrueRowNum;
	}

	public void setPictrueRowNum(String pictrueRowNum) {
		this.pictrueRowNum = pictrueRowNum;
	}

	public String getPictrueContent() {
		return pictrueContent;
	}

	public void setPictrueContent(String pictrueContent) {
		this.pictrueContent = pictrueContent;
	}

	public String getSoundRowNum() {
		return soundRowNum;
	}

	public void setSoundRowNum(String soundRowNum) {
		this.soundRowNum = soundRowNum;
	}

	public String getSoundContent() {
		return soundContent;
	}

	public void setSoundContent(String soundContent) {
		this.soundContent = soundContent;
	}

	public int getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(int subjectId) {
		this.subjectId = subjectId;
	}

	public String getCode() {
		return code;
	}
	
	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		this.no = no;
	}

	public String getDfcltyKey() {
		return dfcltyKey;
	}

	public void setDfcltyKey(String dfcltyKey) {
		this.dfcltyKey = dfcltyKey;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getGradeId() {
		return gradeId;
	}

	public void setGradeId(int gradeId) {
		this.gradeId = gradeId;
	}

	public int getPhaseId() {
		return phaseId;
	}
	
	/**
	 * 获取试题的审核状态
	 * @return
	 */
	public int getAuditStatus() {
		return auditStatus;
	}

	/**
	 * 设置试题审核砖头
	 * @param auditStatus
	 */
	public void setAuditStatus(int auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}
	
	public long getQuestionId() {
		return questionId;
	}

	public void setQuestionId(long questionId) {
		this.questionId = questionId;
	}

	public void setPhaseId(int phaseId) {
		this.phaseId = phaseId;
	}

	public int getTermId() {
		return termId;
	}

	public void setTermId(int termId) {
		this.termId = termId;
	}

	public int getQuestionTypeId() {
		return questionTypeId;
	}

	public void setQuestionTypeId(int questionTypeId) {
		this.questionTypeId = questionTypeId;
	}

	public int getDifficultyId() {
		return difficultyId;
	}

	public void setDifficultyId(int difficultyId) {
		this.difficultyId = difficultyId;
	}

	public Double getScore() {
		return score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

	public String getBeforeExcel() {
		return beforeExcel;
	}

	public void setBeforeExcel(String beforeExcel) {
		this.beforeExcel = beforeExcel;
	}

	public String getExcel() {
		return excel;
	}

	public void setExcel(String excel) {
		this.excel = excel;
	}
	
	public String getExcel4Online() {
		return excel4Online;
	}

	public void setExcel4Online(String excel4Online) {
		this.excel4Online = excel4Online;
	}

	public long getPId() {
		return pId;
	}

	public long getpId() {
		return pId;
	}

	public void setpId(long pId) {
		this.pId = pId;
	}

	public int getStatus() {
		return status;
	}

	public boolean isPrimaryKpointChange() {
		return primaryKpointChange;
	}

	public void setPrimaryKpointChange(boolean primaryKpointChange) {
		this.primaryKpointChange = primaryKpointChange;
	}

	public boolean isDeputyKpointChange() {
		return deputyKpointChange;
	}

	public void setDeputyKpointChange(boolean deputyKpointChange) {
		this.deputyKpointChange = deputyKpointChange;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public long getCreator() {
		return creator;
	}

	public void setCreator(long creator) {
		this.creator = creator;
	}

	public Date getCrtDate() {
		return crtDate;
	}

	public void setCrtDate(Date crtDate) {
		this.crtDate = crtDate;
	}

	public long getAuditor() {
		return auditor;
	}

	public void setAuditor(long auditor) {
		this.auditor = auditor;
	}

	public Date getAuditDate() {
		return auditDate;
	}

	public void setAuditDate(Date auditDate) {
		this.auditDate = auditDate;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	
	public Long getPrimaryKpointId() {
		return primaryKpointId;
	}

	public void setPrimaryKpointId(Long primaryKpointId) {
		this.primaryKpointId = primaryKpointId;
	}

	public String getDeputyKpointId() {
		return deputyKpointId;
	}

	public void setDeputyKpointId(String deputyKpointId) {
		this.deputyKpointId = deputyKpointId;
	}

	public String getGame() {
		return game;
	}

	public void setGame(String game) {
		this.game = game;
	}

	public long getStructureId() {
		return structureId;
	}

	public void setStructureId(long structureId) {
		this.structureId = structureId;
	}

	public long getUnitLessonId() {
		return unitLessonId;
	}

	public void setUnitLessonId(long unitLessonId) {
		this.unitLessonId = unitLessonId;
	}

	public long getKPointId() {
		return kPointId;
	}

	public void setKPointId(long kPointId) {
		this.kPointId = kPointId;
	}

	public String getQuestionTypeName() {
		return questionTypeName;
	}

	public void setQuestionTypeName(String questionTypeName) {
		this.questionTypeName = questionTypeName;
	}

	public long getPaperCatalogId() {
		return paperCatalogId;
	}

	public void setPaperCatalogId(long paperCatalogId) {
		this.paperCatalogId = paperCatalogId;
	}
	
	public int getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}

	public int getOriginId() {
		return originId;
	}

	public void setOriginId(int originId) {
		this.originId = originId;
	}

	public int getEditionId() {
		return editionId;
	}

	public int getResourceTypeId() {
		return resourceTypeId;
	}

	public void setResourceTypeId(int resourceTypeId) {
		this.resourceTypeId = resourceTypeId;
	}

	public void setEditionId(int editionId) {
		this.editionId = editionId;
	}

	public String getTrunk() {
		return trunk;
	}

	public void setTrunk(String trunk) {
		this.trunk = trunk;
	}

	public String getOption() {
		return option;
	}

	public void setOption(String option) {
		this.option = option;
	}

	public long getModifier() {
		return modifier;
	}

	public void setModifier(long modifier) {
		this.modifier = modifier;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	
	public Date getHistoryDate() {
		return historyDate;
	}

	public void setHistoryDate(Date historyDate) {
		this.historyDate = historyDate;
	}

	public long getHistoryUser() {
		return historyUser;
	}

	public void setHistoryUser(long historyUser) {
		this.historyUser = historyUser;
	}

	public String getSubjectName() {
		return subjectName;
	}

	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}

	public String getGradeName() {
		return gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public String getTermName() {
		return termName;
	}

	public void setTermName(String termName) {
		this.termName = termName;
	}

	public String getKnowledgeName() {
		return knowledgeName;
	}

	public void setKnowledgeName(String knowledgeName) {
		this.knowledgeName = knowledgeName;
	}

	public Integer getIsNested() {
		return isNested;
	}

	public void setIsNested(Integer isNested) {
		this.isNested = isNested;
	}

	public String getJoinTrunkTitle() {
		return joinTrunkTitle;
	}

	public void setJoinTrunkTitle(String joinTrunkTitle) {
		this.joinTrunkTitle = joinTrunkTitle;
	}

	public String getOriginName() {
		return originName;
	}

	public void setOriginName(String originName) {
		this.originName = originName;
	}

	public String getLabels() {
		return labels;
	}

	public void setLabels(String labels) {
		this.labels = labels;
	}

//	public StrucPaperQuestion getStrucPaperQuestion() {
//		return strucPaperQuestion;
//	}
//
//	public void setStrucPaperQuestion(StrucPaperQuestion strucPaperQuestion) {
//		this.strucPaperQuestion = strucPaperQuestion;
//	}

//	public UModelMarker getuModelMarker() {
//		return uModelMarker;
//	}
//
//	public void setuModelMarker(UModelMarker uModelMarker) {
//		this.uModelMarker = uModelMarker;
//	}

	public String getKpointIdList() {
		return kpointIdList;
	}

	public void setKpointIdList(String kpointIdList) {
		this.kpointIdList = kpointIdList;
	}

	public String getKnowledgeNameList() {
		return knowledgeNameList;
	}

	public void setKnowledgeNameList(String knowledgeNameList) {
		this.knowledgeNameList = knowledgeNameList;
	}
	
	public long getAreaID() {
		return areaID;
	}

	public void setAreaID(long areaID) {
		this.areaID = areaID;
	}

	public Integer getIsFallible() {
		return isFallible;
	}

	public void setIsFallible(int isFallible) {
		this.isFallible = isFallible;
	}

	
	public Integer getIsClassic() {
		return isClassic;
	}

	public void setIsClassic(Integer isClassic) {
		this.isClassic = isClassic;
	}

	public String getMarker() {
		return marker;
	}

	public void setMarker(String marker) {
		this.marker = marker;
	}

	public Boolean getIsNew() {
		return isNew;
	}

	public void setIsNew(Boolean isNew) {
		this.isNew = isNew;
	}

	public String getImage() {
		return Image;
	}

	public void setImage(String image) {
		Image = image;
	}

	public String getKnowledgeIdsMaster() {
		return knowledgeIdsMaster;
	}

	public void setKnowledgeIdsMaster(String knowledgeIdsMaster) {
		this.knowledgeIdsMaster = knowledgeIdsMaster;
	}

	public String getKnowledgeIds() {
		return knowledgeIds;
	}

	public void setKnowledgeIds(String knowledgeIds) {
		this.knowledgeIds = knowledgeIds;
	}

	public long getEndId() {
		return endId;
	}

	public void setEndId(long endId) {
		this.endId = endId;
	}

	public Integer getIsTestingFlag() {
		return isTestingFlag;
	}

	public void setIsTestingFlag(Integer isTestingFlag) {
		this.isTestingFlag = isTestingFlag;
	}

	public Integer getQualityGrade() {
		return qualityGrade;
	}

	public void setQualityGrade(Integer qualityGrade) {
		this.qualityGrade = qualityGrade;
	}

//	public QualityGrade getQualityGradeEntity() {
//		return qualityGradeEntity;
//	}
//
//	public void setQualityGradeEntity(QualityGrade qualityGradeEntity) {
//		this.qualityGradeEntity = qualityGradeEntity;
//	}

	public Integer getDiagnosticRank() {
		return diagnosticRank;
	}

	public void setDiagnosticRank(Integer diagnosticRank) {
		this.diagnosticRank = diagnosticRank;
	}

	public Integer getCounterRank() {
		return counterRank;
	}

	public void setCounterRank(Integer counterRank) {
		this.counterRank = counterRank;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getAudioName() {
		return audioName;
	}

	public void setAudioName(String audioName) {
		this.audioName = audioName;
	}

	public String getQuestoinFenzu() {
		return questoinFenzu;
	}

	public void setQuestoinFenzu(String questoinFenzu) {
		this.questoinFenzu = questoinFenzu;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

	public long getkPointModuleStrucId() {
		return kPointModuleStrucId;
	}

	public void setkPointModuleStrucId(long kPointModuleStrucId) {
		this.kPointModuleStrucId = kPointModuleStrucId;
	}

	public Integer getPrkpointRelation() {
		return prkpointRelation;
	}

	public void setPrkpointRelation(Integer prkpointRelation) {
		this.prkpointRelation = prkpointRelation;
	}

	public Integer getDpkpontRelation() {
		return dpkpontRelation;
	}

	public void setDpkpontRelation(Integer dpkpontRelation) {
		this.dpkpontRelation = dpkpontRelation;
	}

	public String getOcr() {
		return ocr;
	}

	public void setOcr(String ocr) {
		this.ocr = ocr;
	}

	public Integer getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(Integer taskStatus) {
		this.taskStatus = taskStatus;
	}

	public int getSearchCount() {
		return searchCount;
	}

	public void setSearchCount(int searchCount) {
		this.searchCount = searchCount;
	}

	public int getRecommend_flag() {
		return recommend_flag;
	}

	public void setRecommend_flag(int recommend_flag) {
		this.recommend_flag = recommend_flag;
	}

	public long getYxbId() {
		return yxbId;
	}

	public void setYxbId(long yxbId) {
		this.yxbId = yxbId;
	}

	public int getChangeLabel() {
		return changeLabel;
	}

	public void setChangeLabel(int changeLabel) {
		this.changeLabel = changeLabel;
	}

	public int getB() {
		return b;
	}

	public void setB(int b) {
		this.b = b;
	}

	public List<Question> getChildrenBak() {
		return childrenBak;
	}

	public void setChildrenBak(List<Question> childrenBak) {
		this.childrenBak = childrenBak;
	}
	
	

	/**
	 * @return the paperStruture
	 */
//	@JsonIgnore
//	public PaperStructureQuestion getPaperStruture() {
//		return paperStruture;
//	}
//
//	/**
//	 * @param paperStruture the paperStruture to set
//	 */
//	public void setPaperStruture(PaperStructureQuestion paperStruture) {
//		this.paperStruture = paperStruture;
//	}
	
	
}
